/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.ts.domain.req;

import com.xy.lang.validation.annotation.AlertMessage;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 *
 * 
 * @author wwj
 * @date 2021-4-1
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class GetUserByTrainRequest {

	@NotNull(message = "pageIndexRequired")
	@AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
	private Integer pageIndex;

	@NotNull(message = "pageSizeRequired")
	@AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
	private Integer pageSize;
	
	@NotNull 
	private Long trainId;

	/**
	 * 是否查询自学记录
	 */
	private Boolean withLearnRecords = false;

	/**
	 * 是否查询考试记录
	 */
	private Boolean withExaminationRecords = false;

	/**
	 * 是否查询实操记录
	 */
	private Boolean withPracticeRecords = false;

}
